package com.unswift.generics.project;

import java.util.List;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import com.unswift.annotation.api.Api;
import com.unswift.annotation.api.ApiField;

@JsonInclude(Include.NON_NULL)
@Api(value="生成模块的规则业务实体", author="unswift", date="2023-06-14", version="1.0.0")
public class ModuleRule{
	
	@ApiField("项目路径")
	private String projectPath;

	@ApiField("数据库名称")
	private String database;
	
	@ApiField("数据库表名称")
	private String table;
	
	@ApiField("数据库表描述")
	private String tableComment;
	
	@ApiField("忽略表前缀")
	private String ignorePrefix;
	
	@ApiField("所属微服务")
	private String server;
	
	@ApiField("所属导出微服务")
	private String serverExport;
	
	@ApiField("Pojo单独项目名称")
	private String serverPojo;
	
	@ApiField("mapper单独项目名称")
	private String serverMapper;
	
	@ApiField("manager单独项目名称")
	private String serverAdapter;
	
	@ApiField("所属模块")
	private String module;
	
	@ApiField("业务子模块")
	private String businessModule;
	
	@ApiField("当前子模块")
	private String currModule;
	
	@ApiField("基础包")
	private String basePackage;
	
	@ApiField("生成的模块列表")
	private List<String> genericsModuleList;
	
	@ApiField("数据操作")
	private String dataOperator;
	
	public String getDatabase() {
		return database;
	}

	public void setDatabase(String database) {
		this.database = database;
	}

	public String getTable() {
		return table;
	}

	public void setTable(String table) {
		this.table = table;
	}

	public String getTableComment() {
		return tableComment;
	}

	public void setTableComment(String tableComment) {
		this.tableComment = tableComment;
	}

	public String getIgnorePrefix() {
		return ignorePrefix;
	}

	public void setIgnorePrefix(String ignorePrefix) {
		this.ignorePrefix = ignorePrefix;
	}

	public String getServer() {
		return server;
	}

	public void setServer(String server) {
		this.server = server;
	}

	public String getServerPojo() {
		return serverPojo;
	}

	public void setServerPojo(String serverPojo) {
		this.serverPojo = serverPojo;
	}

	public String getServerMapper() {
		return serverMapper;
	}

	public void setServerMapper(String serverMapper) {
		this.serverMapper = serverMapper;
	}

	public String getModule() {
		return module;
	}

	public void setModule(String module) {
		this.module = module;
	}

	public String getBusinessModule() {
		return businessModule;
	}

	public void setBusinessModule(String businessModule) {
		this.businessModule = businessModule;
	}

	public String getBasePackage() {
		return basePackage;
	}

	public void setBasePackage(String basePackage) {
		this.basePackage = basePackage;
	}

	public List<String> getGenericsModuleList() {
		return genericsModuleList;
	}

	public void setGenericsModuleList(List<String> genericsModuleList) {
		this.genericsModuleList = genericsModuleList;
	}

	public String getDataOperator() {
		return dataOperator;
	}

	public void setDataOperator(String dataOperator) {
		this.dataOperator = dataOperator;
	}

	public String getCurrModule() {
		return currModule;
	}

	public void setCurrModule(String currModule) {
		this.currModule = currModule;
	}

	public String getProjectPath() {
		return projectPath;
	}

	public void setProjectPath(String projectPath) {
		this.projectPath = projectPath;
	}

	public String getServerAdapter() {
		return serverAdapter;
	}

	public void setServerAdapter(String serverAdapter) {
		this.serverAdapter = serverAdapter;
	}

	public String getServerExport() {
		return serverExport;
	}

	public void setServerExport(String serverExport) {
		this.serverExport = serverExport;
	}

}
